<?php echo '新锐创想设计 请支持正版授权产品 <a href="http://addon.discuz.com/?@xinrui">http://addon.discuz.com/?@xinrui</a>';exit;?>
<!--{template common/header}-->
<header class="header p_header">
	<a class="goBack fl" href="javascript:history.back()">返回</a>
	<h1><!--{if $tagname}-->{lang tag}: $tagname<!--{else}--> {lang tag}: $searchtagname<!--{/if}--></h1>
</header>

<div class="container cfix">

<!--{if $tagname}-->
	<div id="pt">
		<a href="./" title="{lang homepage}">$_G[setting][bbname]</a> <em>&rsaquo;</em>
		<a href="misc.php?mod=tag">{lang tag}</a>
		<!--{if $tagname}-->
			<em>&rsaquo;</em>
			<a href="misc.php?mod=tag&id=$id">$tagname</a>
		<!--{/if}-->
		<!--{if $showtype == 'thread'}-->
			<em>&rsaquo;</em> {lang related_thread}
		<!--{/if}-->
		<!--{if $showtype == 'blog'}-->
			<em>&rsaquo;</em> {lang related_blog}
		<!--{/if}-->
	</div>

	<div class="threadlist">
	<ul>
	<!--{if empty($showtype) || $showtype == 'thread'}-->
		<!--{if $threadlist}-->
			<!--{loop $threadlist $thread}-->
			<li>
				<a href="forum.php?mod=viewthread&tid=$thread[tid]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">
					<div class="threadListTit">
						<div class="h_avatar"><!--{avatar($thread[authorid],small)}--></div>
						<h4>
							<div class="count y">
								<span class="views icon">$thread[views]</span>
								<span class="replies icon">$thread[replies]</span>
							</div>
							<!--{if $thread['authorid'] && $thread['author']}-->
								$thread[author]
							<!--{else}-->
								{lang anonymous}
							<!--{/if}-->
						</h4>
						<p>发布于 $thread[dateline]</p>
					</div>

					<h3 class="threadSubject">
						$thread['subject'] 
						<!--{if $thread['readperm']}--> - [{lang readperm} <span class="xw1">$thread[readperm]</span>]<!--{/if}-->
						<!--{if $thread['price'] > 0}-->
							<!--{if $thread['special'] == '3'}-->
							- <span style="color: #C60">[{lang thread_reward} <span class="xw1">$thread[price]</span> {$_G[setting][extcredits][$_G['setting']['creditstransextra'][2]][unit]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][2]][title]}]</span>
							<!--{else}-->
							- [{lang price} <span class="xw1">$thread[price]</span> {$_G[setting][extcredits][$_G['setting']['creditstransextra'][1]][unit]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][1]][title]}]
							<!--{/if}-->
						<!--{elseif $thread['special'] == '3' && $thread['price'] < 0}-->
							- [{lang reward_solved}]
						<!--{/if}-->
						<!--{if $thread['attachment'] == 2}-->
							<img src="{STATICURL}image/filetype/image_s.gif" alt="attach_img" title="{lang attach_img}" align="absmiddle" />
						<!--{elseif $thread['attachment'] == 1}-->
							<img src="{STATICURL}image/filetype/common.gif" alt="attachment" title="{lang attachment}" align="absmiddle" />
						<!--{/if}-->
						<!--{if $thread['digest'] > 0 && $filter != 'digest'}-->
							<img src="{IMGDIR}/digest_$thread[digest].gif" align="absmiddle" alt="digest" title="{lang thread_digest} $thread[digest]" />
						<!--{/if}-->
					</h3>
					
				</a>
			</li>
			<!--{/loop}-->
		</ul>
		<!--{else}-->
			<p class="noData">{lang no_content}</p>
		<!--{/if}-->
	<!--{/if}-->
	</ul>
	</div>
<!--{else}-->
<div class="search">
	<form method="post" action="misc.php?mod=tag" class="pns">
		<input type="text" name="name" class="inp" placeholder="输入要搜索的标签" />
		<div class="scbar_btn_td"><button type="submit" class="btn1"><em>{lang search}</em></button></div>
	</form>
</div>
<div class="noData">{lang empty_tags}</div>
		
<!--{/if}-->

</div>
<!--{template common/btfixed}-->
<!--{template common/footer}-->
